package no.cicero.testframework.reporting;

import java.io.IOException;

public interface IReport {

    public void reportStarted(Reporting report) throws IOException;
    public void reportFinished();
    
    public void useCaseStarted(ReportingUseCase useCase);
    public void useCaseSucceeded(ReportingUseCase useCase);
    public void useCaseFailed(ReportingUseCase useCase, Exception ex);

    public void testCaseStarted(ReportingTestCase testCase) throws IOException;
    public void testCaseSucceeded(ReportingTestCase testCase);
    public void testCaseFailed(ReportingTestCase testCase, Exception ex);

    public void stepStarted(ReportingStep step);
    public void stepSuccess(ReportingStep step);
    public void stepFailed(ReportingStep step);

}
